package com.wei.czz.common.vo.admin.role;

import com.wei.czz.common.tool.BaseEntity;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * Created by IntelliJ IDEA.
 *
 * @author wyw
 * date: 2024-10-25 14:12:28
 * className: BindRoleVo 绑定角色参数类
 * version: 1.0
 * description:
 */
@Getter
@Setter
public class BindRoleVo extends BaseEntity {

    /**
     * 主键
     */
    @NotNull(message = "主键不能为空")
    private Long masterId;

    /**
     * 角色主键列表
     */
    @NotEmpty(message = "角色主键列表不能为空")
    private List<Long> roleIdList;

}
